package com.github.xiaoymin.map.response.tencent;

import com.github.xiaoymin.map.model.MapLocation;
import com.google.gson.annotations.SerializedName;

public class TencentDistrictResponse {
    /**
     * 行政区划唯一标识
     */
    @SerializedName("id")
    private String id;
    /**
     * 简称
     */
    private String name;

    /**
     * 全称
     */
    private String fullname;

    /**
     * 经纬度
     */
    @SerializedName("location")
    private MapLocation mapLocation;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFullname() {
        return fullname;
    }

    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    public MapLocation getMapLocation() {
        return mapLocation;
    }

    public void setMapLocation(MapLocation mapLocation) {
        this.mapLocation = mapLocation;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("AmapDistrictResponse{");
        sb.append("id='").append(id).append('\'');
        sb.append(", name='").append(name).append('\'');
        sb.append(", fullname='").append(fullname).append('\'');
        sb.append(", mapLocation=").append(mapLocation);
        sb.append('}');
        return sb.toString();
    }
}
